package wyu.controller;

import com.dto.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import wyu.service.CarouselService;

import javax.annotation.Resource;

@RestController
@RequestMapping("/carousel")
public class CarouselController {
    @Resource
    CarouselService carouselService;
    @GetMapping("/getDetailedList")
    public Result getDetailedLis(){
        return carouselService.getDetailedList();
    }
}
